package cn.com.tianpeidong.restaurantadmin.project.admin.order.service.impl;

import cn.com.tianpeidong.restaurantadmin.project.admin.order.entity.Order;
import cn.com.tianpeidong.restaurantadmin.project.admin.order.mapper.OrderMapper;
import cn.com.tianpeidong.restaurantadmin.project.admin.order.service.IOrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author tianpeidong
 * @version 创建时间: 19-6-2 下午2:35
 */
@Service
public class OrderServiceImpl implements IOrderService {

    @Autowired
    private OrderMapper orderMapper;

    @Override
    public List<Order> listOrder(Order order) {
        return orderMapper.listOrder(order);
    }
}
